
<%@page import="controller.Utils"%>
<%@page import="models.Domain"%>
<%

String strs = (String) request.getAttribute("strs");
String name = (String) request.getAttribute("name");
Domain domain = (Domain) request.getAttribute("domain");

String title = "Whois " + domain.getDomain();
String description = "Whois "+domain.getDomain()+".Here you can find information about a domain such as creation date, expiration date of the domain, and some other information about the domain";
String keywords = domain.getDomain()+"whois,domain,whois domain,ip,whois ip,infomation whois";
%>
<jsp:include page="/layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
	<jsp:param name="index" value="true"/>
</jsp:include>
		<div class="body">
			<div class="body_left">
				<div class="top_left">
					<%@ include file='/adv/left.jsp'%>
				</div>
				
				<div class="top_left">
					<%@ include file='/adv/left.jsp'%>
				</div>
				
			</div>
			<div class="body_right">
				<div class="top">
					Whois <a href="/d/<%=domain.getDomain() %>" class="l_whois"><%=domain.getDomain() %></a>
					
				</div>
				<div class="content padding">
					<form action="/sw" class="s_whois">
						<input type="text" name="name" value="example.com" onclick="javascript:this.value = ''"/>
						<button>Whois</button>
					</form>
					<div class="adv_menu">
						<%@ include file='/adv/menu.jsp'%>
					</div>
					<hr size="1"/>
					<%=(domain.getWhois()!=null)?Utils.returnWhois(domain.getWhois().getValue()):"No whois" %>
				</div>
			</div>
			<div class="clear"></div>
		</div>
<script type="text/javascript" src="/js/jquery.js"></script>		
<script type="text/javascript" src="/js/update.js"></script>		
<%@ include file='/layout/footer.jsp'%>		